import { ViewConfig, ViewType } from "../app-core/view/ViewDefine";

export enum UIID {
    Loading = 1,
    Login,
    Login2,
    Battle
}

/** 打开界面方式的配置数据 */
export var UIConfig: Map<number, ViewConfig> = new Map([
    [UIID.Loading, { type: ViewType.UI, prefab: "ui/loading/loading" }],
    [UIID.Login, { type: ViewType.UI, prefab: "ui/login/login" }],
    [UIID.Login2, { type: ViewType.UI, prefab: "ui/login/login2" }],
    [UIID.Battle, { type: ViewType.UI, prefab: 'ui/battle/battle' }]
])
